home *** CD-ROM | disk | FTP | other *** search
- /*
- File: BindingUtils.h
-
- Contains: Binding Utilities interfaces
-
- Owned by: Reggie Adkins
-
- Copyright: © 1996 by Apple Computer, Inc., all rights reserved.
-
- Change History (most recent first):
-
- <3> 11/21/96 RA Added ODSetPreferredKindProps
- <2> 10/10/96 RA Moved ChangeKindAndEditor, ChangeEditor,
- IsNoPart and GetCurrentEditorForPart from
- BindngH.h
-
- To Do:
- */
-
-
- #ifndef _OD_IMPL_
- #error These utilties should not be used by part developers.
- #endif
-
- #ifndef _BINDINGUTILS_
- #define _BINDINGUTILS_
-
- #ifdef _OD_IMPL_
-
- ODEditor GetCurrentEditorForPart(ODPart* part );
-
- void ChangeEditor(ODPart* part, ODEditor editorID);
-
- void ChangeKindAndEditor (Environment *ev,
- ODPart* part,
- ODType newKind,
- ODEditor newEditor,
- ODNameSpaceManager* nsm);
-
- void ODSetPreferredEditorProps(ODStorageUnit* thePartSU, ODEditor theChosenEditor );
-
- void ODSetPreferredKindProps(ODStorageUnit* thePartSU, ODType preferredkind);
-
- ODBoolean IsNoPart(Environment* ev, ODPart* rootPart);
-
- ODBoolean IsNoPart(Environment* ev, ODEditor editor);
-
- ODBoolean IsViewerOfLastResort(Environment* ev, ODPart* part);
-
- ODBoolean IsViewerOfLastResort(Environment* ev, ODEditor editor);
-
- #endif //_OD_IMPL_
-
- #endif //_BINDINGUTILS_
-